﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Views/Shared/RedesignedMaster.Master" Inherits="System.Web.Mvc.ViewPage<final_darskade.Models.course>" %>

<asp:Content ID="Content1" ContentPlaceHolderID="TitleContent" runat="server">
	Create
</asp:Content>

<asp:Content ID = "breadcrumb" ContentPlaceHolderID = "Breadcrumbs" runat = "server">
    <a href = "/">صفحه اصلی</a> > <a href = "/Course/">مدیریت دروس</a> > <a href = "/Course/Create">ثبت درس جدید</a>
</asp:Content>

<asp:Content ID="Content2" ContentPlaceHolderID="MainContent" runat="server">
    <form id = "createform" method = "post" class = "validateform" onsubmit="convertfarsinumbers()">
        <fieldset>
            <legend>مشخصات درس</legend>
            <div class = "editor-label">شماره درس:</div>
            <div class = "editor-field">
                <input class = "validate[required,custom[farsinumber]] farsinumber" name = "course_id" id = "course_id"/>
            </div>
            <div class = "editor-label">نام درس:</div>
            <div class = "editor-field">
                <input class = "validate[required]" name = "name" id = "name"/>
            </div>
            <div class = "editor-label">رشته:</div>
            <div class = "editor-field">
                <input class = "validate[required]" name = "field" id = "field"/>
            </div>
            <div class = "editor-label">تعداد واحد:</div>
            <div class = "editor-field">
                <input class = "validate[required,custom[farsinumber]] farsinumber" name = "unit" id = "unit"/>
            </div>
            
            <p>
                <input name = "button" value = "ثبت" type = "submit" />
            </p>
        </fieldset>
    </form>


    <%=ViewData["duplicatecourseid"] %>
</asp:Content>
